using System;
using System.Xml;
using System.Xml.Serialization;
namespace SERP.DAO{
	/********************************BEGIN MenuRolesEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:09/03/2013 19:09:04</para>
	/// <para>Class Name: MenuRolesEntity</para>
	/// <para>Description: ClassMenuRolesEntity store data of table MenuRoles</para>
	///</summary>

	[Serializable]
	public partial class MenuRolesEntity{


		private bool _InternalChangedIsNullMenuRoleId=true;
		private bool _IsNullMenuRoleId=true;
		private bool _InternalChangedIsNullMenuId=true;
		private bool _IsNullMenuId=true;
		private bool _InternalChangedIsNullRoleId=true;
		private bool _IsNullRoleId=true;
		private int _MenuRoleId;
		private int _MenuId;
		private int _RoleId;
		[XmlElement(ElementName = "IsNullMenuRoleId")]
		public bool IsNullMenuRoleId{
			get{return _IsNullMenuRoleId;}
			set{if(!_InternalChangedIsNullMenuRoleId)_IsNullMenuRoleId=value;}
		}
		[XmlElement(ElementName = "IsNullMenuId")]
		public bool IsNullMenuId{
			get{return _IsNullMenuId;}
			set{if(!_InternalChangedIsNullMenuId)_IsNullMenuId=value;}
		}
		[XmlElement(ElementName = "IsNullRoleId")]
		public bool IsNullRoleId{
			get{return _IsNullRoleId;}
			set{if(!_InternalChangedIsNullRoleId)_IsNullRoleId=value;}
		}
		[XmlElement(ElementName = "MenuRoleId")]
		public int MenuRoleId{
			get{return _MenuRoleId;}
			set{
				_MenuRoleId=value;
				if(_MenuRoleId!=null){
					_IsNullMenuRoleId=false;
					_InternalChangedIsNullMenuRoleId=true;
				}
			}
		}
		[XmlElement(ElementName = "MenuId")]
		public int MenuId{
			get{return _MenuId;}
			set{
				_MenuId=value;
				if(_MenuId!=null){
					_IsNullMenuId=false;
					_InternalChangedIsNullMenuId=true;
				}
			}
		}
		[XmlElement(ElementName = "RoleId")]
		public int RoleId{
			get{return _RoleId;}
			set{
				_RoleId=value;
				if(_RoleId!=null){
					_IsNullRoleId=false;
					_InternalChangedIsNullRoleId=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END MenuRolesEntityBase*****************************************/
	/*****************************************************************************************************/
}

